package com.twu.biblioteca.books;

public class Book {

    private final String title;
    private final String ISBN;

    public Book(String title, String ISBN) {
        this.title = title;
        this.ISBN = ISBN;
    }

    public boolean compareISBNWith(String isbn) {
        return this.ISBN.equals(isbn);
    }

    @Override
    public String toString(){
        return this.ISBN + "\t" + this.title;
    }

}
